<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style>
			* {
				padding: 0px;
				margin: 0px;
				list-style: none;
			}

			.nav {
				height: 35px;
				background-color: #f5f5f5;
				font-size: 12px;
			}

			.menu-level1>li {
				position: relative;
				display: inline-block;
				padding: 0px 10px;
				
			}
			
			.menu-level1>li>h2 {
				font-size: 12px;
				line-height: 35px;
			}
			
			.menu-level2 {
				position: absolute;
				width: 100px;
				display: none;
			}
			
			.menu-level1>li:hover>.menu-level2 {
				display: block;
			}
			
			.menu-level2 {
				z-index: 99;
				background-color: #fff;
			}
			
			.menu-level2>li {
				line-height: 35px;
			}
			
		</style>
	</head>
	<body>
		<nav class="nav">
			<ul class="menu-level1">
				<li>
					<h2>我的淘宝</h2>
					<ul class="menu-level2">
						<li>已买到的宝贝</li>
						<li>我的足迹</li>
					</ul>
				</li>
				<li>
					<h2>购物车</h2>
					<ul class="menu-level2">
						<li>已买到的宝贝</li>
						<li>我的足迹</li>
					</ul>
				</li>
				<li>
					<h2>收藏夹</h2>
				</li>
				<li>
					<h2>商品分类</h2>
				</li>
			</ul>
		</nav>
	</body>
</html>
